// LANGUAGE: +InlineClasses
// DONT_TARGET_EXACT_BACKEND: NATIVE
// IGNORE_BACKEND: JS_IR, JS
// WITH_REFLECT

// MODULE: lib
// FILE: A.kt
package a

import kotlin.reflect.jvm.isAccessible

inline class S(val s: String)

private val ok = S("OK")

val ref = ::ok.apply { isAccessible = true }

// MODULE: main(lib)
// FILE: B.kt
import a.*

fun box() = ref.call().s